<?php
/**
 *
 * @user: leo
 * @date: 2021/7/1
 * @createTime: 15:01
 * @company: 迈酷网络科技 http://www.maicooit.com
 */
namespace app\admin\logic\user;

use app\BaseController;
use app\admin\model\RolesAuth as RolesAuthModel;

class RolesAuth extends  BaseController {
    //列表
    public static function RolesAuthListLogic($key,$role_id,$page,$pagesize){
        $rolesauth = new RolesAuthModel();
        $list = $rolesauth->RolesAuthListModel($key,$role_id,$page,$pagesize);
        return $list;
    }
    //新增
    public static function RolesAuthAddLogic($info){
        $rolesauth = new RolesAuthModel();
        $res = $rolesauth->RolesAuthInsertModel($info);
        return $res;
    }
    //编辑
    public static function RoleSaveLogic(){
    }
    //禁用
    public static function RoleDisableEableLogic(){
    }
    //删除
    public static function RoleDelLogic(){
    }
}